Version | ID |
---|---|
1.8.X | 0x3E |
1.9 | 0x41 |
1.12 | 0x43 |
1.12.1 | 0x44 |
1.13.1 | 0x47 |
1.14.4 | 0x4B |
1.15.2 | 0x4C |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x4C | Play | Client | Team Name | String (16) | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | Chat | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Team Color | VarInt enum | Used to color the name of players on the team; see below | ||||
Team Prefix | Chat | Displayed before the names of players that are part of this team | ||||
Team Suffix | Chat | Displayed after the names of players that are part of this team | ||||
Entity Count | VarInt | Number of elements in the following array | ||||
Entities | Array of String (40) | Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | Chat | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible entities on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Team Color | VarInt enum | Used to color the name of players on the team; see below | ||||
Team Prefix | Chat | Displayed before the names of players that are part of this team | ||||
Team Suffix | Chat | Displayed after the names of players that are part of this team | ||||
3: add players to team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities added. For players, this is their username; for other entities, it is their UUID. | ||||
4: remove players from team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities removed. For players, this is their username; for other entities, it is their UUID. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x4B | Play | Client | Team Name | String (16) | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | Chat | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Team Color | VarInt enum | Used to color the name of players on the team; see below | ||||
Team Prefix | Chat | Displayed before the names of players that are part of this team | ||||
Team Suffix | Chat | Displayed after the names of players that are part of this team | ||||
Entity Count | VarInt | Number of elements in the following array | ||||
Entities | Array of String (40) | Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | Chat | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible entities on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Team Color | VarInt enum | Used to color the name of players on the team; see below | ||||
Team Prefix | Chat | Displayed before the names of players that are part of this team | ||||
Team Suffix | Chat | Displayed after the names of players that are part of this team | ||||
3: add players to team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities added. For players, this is their username; for other entities, it is their UUID. | ||||
4: remove players from team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities removed. For players, this is their username; for other entities, it is their UUID. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x47 | Play | Client | Team Name | String (16) | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | Chat | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Team Color | VarInt enum | Used to color the name of players on the team; see below | ||||
Team Prefix | Chat | Displayed before the names of players that are part of this team | ||||
Team Suffix | Chat | Displayed after the names of players that are part of this team | ||||
Entity Count | VarInt | Number of elements in the following array | ||||
Entities | Array of String (40) | Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | Chat | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible entities on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Team Color | VarInt enum | Used to color the name of players on the team; see below | ||||
Team Prefix | Chat | Displayed before the names of players that are part of this team | ||||
Team Suffix | Chat | Displayed after the names of players that are part of this team | ||||
3: add players to team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities added. For players, this is their username; for other entities, it is their UUID. | ||||
4: remove players from team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities removed. For players, this is their username; for other entities, it is their UUID. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x47 | Play | Client | Team Name | String (16) | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | Chat | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Formatting | VarInt enum | See below | ||||
Team Prefix | Chat | Displayed before the names of players that are part of this team | ||||
Team Suffix | Chat | Displayed after the names of players that are part of this team | ||||
Entity Count | VarInt | Number of elements in the following array | ||||
Entities | Array of String (40) | Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | Chat | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible entities on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Formatting | VarInt enum | See below | ||||
Team Prefix | Chat | Displayed before the names of players that are part of this team | ||||
Team Suffix | Chat | Displayed after the names of players that are part of this team | ||||
3: add players to team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities added. For players, this is their username; for other entities, it is their UUID. | ||||
4: remove players from team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities removed. For players, this is their username; for other entities, it is their UUID. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x44 | Play | Client | Team Name | String (16) | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | String (32) | ||||
Team Prefix | String (16) | Displayed before the names of players that are part of this team | ||||
Team Suffix | String (16) | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | For colors, the same Chat colors (0-15). -1 indicates RESET/no color. | ||||
Entity Count | VarInt | Number of elements in the following array | ||||
Entities | Array of String (40) | Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | String (32) | ||||
Team Prefix | String (16) | Displayed before the names of entities that are part of this team | ||||
Team Suffix | String (16) | Displayed after the names of entities that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible entities on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | For colors, the same Chat colors (0-15). -1 indicates RESET/no color. | ||||
3: add players to team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities added. For players, this is their username; for other entities, it is their UUID. | ||||
4: remove players from team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities removed. For players, this is their username; for other entities, it is their UUID. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x44 | Play | Client | Team Name | String (16) | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | String (32) | ||||
Team Prefix | String (16) | Displayed before the names of players that are part of this team | ||||
Team Suffix | String (16) | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | For colors, the same Chat colors (0-15). -1 indicates RESET/no color. | ||||
Entity Count | VarInt | Number of elements in the following array | ||||
Entities | Array of String (40) | Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | String (32) | ||||
Team Prefix | String (16) | Displayed before the names of entities that are part of this team | ||||
Team Suffix | String (16) | Displayed after the names of entities that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible entities on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | For colors, the same Chat colors (0-15). -1 indicates RESET/no color. | ||||
3: add players to team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities added. For players, this is their username; for other entities, it is their UUID. | ||||
4: remove players from team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities removed. For players, this is their username; for other entities, it is their UUID. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x43 | Play | Client | Team Name | String (16) | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | String (32) | ||||
Team Prefix | String (16) | Displayed before the names of players that are part of this team | ||||
Team Suffix | String (16) | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | For colors, the same Chat colors (0-15). -1 indicates RESET/no color. | ||||
Entity Count | VarInt | Number of elements in the following array | ||||
Entities | Array of String (40) | Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | String (32) | ||||
Team Prefix | String (16) | Displayed before the names of entities that are part of this team | ||||
Team Suffix | String (16) | Displayed after the names of entities that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible entities on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | For colors, the same Chat colors (0-15). -1 indicates RESET/no color. | ||||
3: add players to team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities added. For players, this is their username; for other entities, it is their UUID. | ||||
4: remove players from team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities removed. For players, this is their username; for other entities, it is their UUID. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x41 | Play | Client | Team Name | String (16) | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | String (32) | ||||
Team Prefix | String (16) | Displayed before the names of players that are part of this team | ||||
Team Suffix | String (16) | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | For colors, the same Chat colors (0-15). -1 indicates RESET/no color. | ||||
Entity Count | VarInt | Number of elements in the following array | ||||
Entities | Array of String (40) | Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | String (32) | ||||
Team Prefix | String (16) | Displayed before the names of entities that are part of this team | ||||
Team Suffix | String (16) | Displayed after the names of entities that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible entities on same team | ||||
Name Tag Visibility | String Enum (32) | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum (32) | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | For colors, the same Chat colors (0-15). -1 indicates RESET/no color. | ||||
3: add players to team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities added. For players, this is their username; for other entities, it is their UUID. | ||||
4: remove players from team | Entity Count | VarInt | Number of elements in the following array | |||
Entities | Array of String (40) | Identifiers for the entities removed. For players, this is their username; for other entities, it is their UUID. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x41 | Play | Client | Team Name | String | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
Player Count | VarInt | Number of elements in the following array | ||||
Players | Array of String | Usernames of the players in this team. Maximum 40 characters per entry. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
3: add players to team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the added players. Maximum 40 characters per entry. | ||||
4: remove players from team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the removed players. Maximum 40 characters per entry. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x41 | Play | Client | Team Name | String | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
Player Count | VarInt | Number of elements in the following array | ||||
Players | Array of String | Usernames of the players in this team. Maximum 40 characters per entry. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
3: add players to team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the added players. Maximum 40 characters per entry. | ||||
4: remove players from team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the removed players. Maximum 40 characters per entry. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x41 | Play | Client | Team Name | String | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
Player Count | VarInt | Number of elements in the following array | ||||
Players | Array of String | Usernames of the players in this team. Maximum 40 characters per entry. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
3: add players to team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the added players. Maximum 40 characters per entry. | ||||
4: remove players from team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the removed players. Maximum 40 characters per entry. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x41 | Play | Client | Team Name | String | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
Player Count | VarInt | Number of elements in the following array | ||||
Players | Array of String | Usernames of the players in this team. Maximum 40 characters per entry. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
3: add players to team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the added players. Maximum 40 characters per entry. | ||||
4: remove players from team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the removed players. Maximum 40 characters per entry. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x41 | Play | Client | Team Name | String | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
Player Count | VarInt | Number of elements in the following array | ||||
Players | Array of String | Usernames of the players in this team. Maximum 40 characters per entry. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Flags | Byte | Bit mask. 0x01: Allow friendly fire, 0x02: can see invisible players on same team | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
3: add players to team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the added players. Maximum 40 characters per entry. | ||||
4: remove players from team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the removed players. Maximum 40 characters per entry. |
Packet ID | State | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|---|
0x41 | Play | Client | Team Name | String | A unique name for the team. (Shared with scoreboard). | |
Mode | Byte | Determines the layout of the remaining packet | ||||
0: create team | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Fire | Byte Enum | 0 for off, 1 for on, 3 for seeing friendly invisibles | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
Player Count | VarInt | Number of elements in the following array | ||||
Players | Array of String | Usernames of the players in this team. Maximum 40 characters per entry. | ||||
1: remove team | no fields | no fields | ||||
2: update team info | Team Display Name | String | ||||
Team Prefix | String | Displayed before the names of players that are part of this team | ||||
Team Suffix | String | Displayed after the names of players that are part of this team | ||||
Friendly Fire | Byte Enum | 0 for off, 1 for on, 3 for seeing friendly invisibles | ||||
Name Tag Visibility | String Enum | always , hideForOtherTeams , hideForOwnTeam , never |
||||
Collision Rule | String Enum | always , pushOtherTeams , pushOwnTeam , never |
||||
Color | Byte | Same as Chat colors | ||||
3: add players to team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the added players. Maximum 40 characters per entry. | ||||
4: remove players from team | Player Count | VarInt | Number of elements in the following array | |||
Players | Array of String | Usernames of the removed players. Maximum 40 characters per entry. |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x3E | Play | Client | Team Name | String | A unique name for the team. (Shared with scoreboard). |
Mode | Byte | If 0 then the team is created. If 1 then the team is removed. If 2 the team team information is updated. If 3 then new players are added to the team. If 4 then players are removed from the team. |
|||
Team Display Name | Optional String | Only if Mode = 0 or 2. | |||
Team Prefix | Optional String | Only if Mode = 0 or 2. Displayed before the players' name that are part of this team | |||
Team Suffix | Optional String | Only if Mode = 0 or 2. Displayed after the players' name that are part of this team | |||
Friendly Fire | Optional Byte | Only if Mode = 0 or 2. 0 for off, 1 for on, 3 for seeing friendly invisibles | |||
Name Tag Visibility | Optional String | Only if Mode = 0 or 2. always, hideForOtherTeams, hideForOwnTeam, never | |||
Color | Optional Byte | Only if Mode = 0 or 2. Same as Chat colors | |||
Player Count | Optional VarInt | Only if Mode = 0 or 3 or 4. Number of players in the array | |||
Players | Optional Array of String | Only if Mode = 0 or 3 or 4. Players to be added/remove from the team. Max 40 characters so may be uuid's later |